﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace DBContent.Model
{   
    /// <summary>
    /// Author:Liangchuan Gu
    /// date:2012-04-07
    /// </summary>
    [Table]
    public class DBNpc
    {
        private string _npcID;
        /// <summary>
        /// NpcID
        /// </summary>
        [Column(IsPrimaryKey = true,
            DbType = "NVarChar(37) NOT NULL",
            CanBeNull = false)]
        public string NpcID
        {
            get
            {
                return _npcID;
            }
            set
            {
                _npcID = value;
            }
        }

        private string _gameID;
        /// <summary>
        /// GameID
        /// </summary>
        [Column(DbType = "NVarChar(37)")]
        public string GameID
        {
            get
            {
                return this._gameID;
            }
            set
            {
                _gameID = value;
            }
        }

        private string _status;
        /// <summary>
        /// Status
        /// </summary>
        [Column(DbType = "NVarChar(1)")]
        public string Status
        {
            get
            {
                return this._status;
            }
            set
            {
                _status = value;
            }
        }
    }
}
